
<ion-header>

  <ion-navbar color="dark">
    <ion-title class="center w80">最近联系人</ion-title>
  </ion-navbar>

</ion-header>


<ion-content padding>
  <ion-item *ngIf="userList==undefined">
    <ion-label text-center="">暂无最近联系人</ion-label>
  </ion-item>
  <ion-item *ngFor="let user of userList" (press)="deleteContactPerson(user.id)">
    <ion-avatar item-start (click)="opneChatDetail(user.id,user.phone,user.userFace,user.nickname)">
      <img src="{{userFacePath}}/{{user.userFace}}">
    </ion-avatar>
    <ion-label style="width: 30px">{{user.nickname}}</ion-label>
    <ion-icon *ngIf="user.sex==1" item-end="" name="female" class="female"></ion-icon>
    <ion-icon *ngIf="user.sex==0" item-end="" name="male" class="male"></ion-icon>
  </ion-item>
</ion-content>
